package org.example.shop.service;

import org.example.shop.pojo.Goods;

import java.util.List;

public interface GoodsService {
    /**
     * 对商品进行下单
     * @param gid
     * @return
     */
    Integer secKill(Integer gid,int count);
    List<Goods> findAll();
}
